/*eslint-disable */
// import ajax from '@/utils/request.js'
import { ajax } from '@/plugins/request.js'

export const getProfiles = (username) => {
  return ajax.get(`/api/profiles/${username}`)
}

export const getArticles = (params) => {
  return ajax.get(`/api/articles`, {
    params
  })
}
